package com.app.samba.bean;

import java.util.HashMap;
import java.util.List;

/**
 * Created Date 2019/6/12
 *
 * @author liangkun
 * description：eventbus消息类
 */
public class MessageEvent {
    private int msgCode; //消息code
    private String fileCode; //本地文件的码
    private HashMap mapFile; //文件集合

    public MessageEvent(int msgCode) {
        this.msgCode = msgCode;
    }

    /**
     * 图片搜索完毕
     *
     * @param code
     * @param file
     */
    public MessageEvent(String code, HashMap<String, List<LocalMediaBean>> file) {
        this.fileCode = code;
        this.mapFile = file;

    }


    public int getMsgCode() {
        return msgCode;
    }

    public void setMsgCode(int msgCode) {
        this.msgCode = msgCode;
    }

    public String getFileCode() {
        return fileCode;
    }

    public void setFileCode(String fileCode) {
        this.fileCode = fileCode;
    }

    public HashMap<String, List<LocalMediaBean>> getMapFile() {
        return mapFile;
    }

    public void setMapFile(HashMap<String, List<LocalMediaBean>> mapFile) {
        this.mapFile = mapFile;
    }
}
